using System;
using System.Collections.Generic;
using System.Text;
using phorm.database.core;

namespace phorm.model.fields
{
    /// <summary>
    /// A text column
    /// </summary>
    public class Text : DatabaseColumn
    {
        /// <summary>
        /// Constructor for initializing column and populating into model object.
        /// </summary>
        /// <param name="obj">The model object to which this column belongs</param>
        public Text(DatabaseRecord obj)
        {
            this._model     = obj;
            this.field_type = "text";

            populateColumn();
        }
    }
}
